(function(){
  var div = document.getElementById("showcount");
  myEvent.listen('add',function(count){
      div.innerHTML = count;
  });
})();